import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/page/Home'
import ProductClassify from '@/components/page/ProductClassify'
import MemberHome from '@/components/page/MemberHome'
import MemberCoupon from '@/components/page/MemberCoupon'
import MemberLog from '@/components/page/MemberLog'
import MemberPromotion from '@/components/page/MemberPromotion'
import AboutUs from '@/components/page/AboutUs'
import UseHelp from '@/components/page/UseHelp'
import Cart from '@/components/page/Cart'
import Coupon from '@/components/page/Coupon'
import SubmitShopApply from '@/components/page/SubmitShopApply'
import ProductNew from '@/components/page/ProductNew'
import ProductSeckill from '@/components/page/ProductSeckill'
import ProductGroup from '@/components/page/ProductGroup'
import OrderList from '@/components/page/OrderList'
import OrderApplyList from '@/components/page/OrderApplyList'
import OrderDetail from '@/components/page/OrderDetail'
import OrderExpress from "../components/page/OrderExpress";
import OrderGroup from "../components/page/OrderGroup";
import OrderReply from "../components/page/OrderReply";
import OrderApplyDetail from "../components/page/OrderApplyDetail";
import WechatBinding from '@/components/page/WechatBinding'
import Login from '@/components/page/Login'
import MemberSetup from '@/components/page/MemberSetup'
import MemberInfo from '@/components/page/MemberInfo'
import MemberAddressList from '@/components/page/MemberAddressList'
import MemberAddressForm from '@/components/page/MemberAddressForm'
import MyAMap from '@/components/page/MyAMap'
import MemberChangePassword from '@/components/page/MemberChangePassword'
import MemberChangeMobile from '@/components/page/MemberChangeMobile'
import MemberWechatBinding from '@/components/page/MemberWechatBinding'
import MemberBindingShopList from '@/components/page/MemberBindingShopList'
import MemberShopCollectList from '@/components/page/MemberShopCollectList'
import MemberProductCollectList from '@/components/page/MemberProductCollectList'
import ChatList from '@/components/page/ChatList'
import Chat from '@/components/page/Chat'
import SearchAct from '@/components/page/SearchAct'
import SearchResult from '@/components/page/SearchResult'
import SearchResultShop from '@/components/page/SearchResultShop'
import ProductDetail from '@/components/page/ProductDetail'
import ConfirmOrder from '@/components/page/ConfirmOrder'
import PaySuccess from '@/components/page/PaySuccess'
import ProductCollectList from "../components/page/ProductCollectList";
import ProductReplyList from "../components/page/ProductReplyList";
import ShopHome from "../components/page/ShopHome";
import ShopProductClassify from "../components/page/ShopProductClassify";
import ShopDescription from "../components/page/ShopDescription";
import ShopProduct from "../components/page/ShopProduct";
import ShopProductPurchaseList from "../components/page/ShopProductPurchaseList";
import ShopProductPurchaseDetail from "../components/page/ShopProductPurchaseDetail";
import EnterprisePayInfo from "../components/page/EnterprisePayInfo";
import ConfirmPurchaseOrder from "../components/page/ConfirmPurchaseOrder";
import IScrollerDemo from "../components/page/IScrollerDemo";
import MyAMapLine from "../components/page/MyAMapLine";
import MemberComplaint from "../components/page/MemberComplaint";
import ProductList from '../components/page/ProductList'
import ProductModelList from '../components/page/ProductModelList'
import ProductModelLogList from '../components/page/ProductModelLogList'
import ProductForm from '../components/page/ProductForm'
import ProductLogList from '../components/page/ProductLogList'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: 'OrderList',
    },
    {
      path: '/Home',
      redirect: 'Home',
      component: Home,
    },
    {
      path: '/ProductClassify',
      name: 'ProductClassify',
      component: ProductClassify,
    },
    {
      path: '/Coupon',
      name: 'Coupon',
      component: Coupon,
    },
    {
      path: '/SubmitShopApply',
      name: 'SubmitShopApply',
      component: SubmitShopApply,
    },
    {
      path: '/ProductGroup',
      name: 'ProductGroup',
      component: ProductGroup,
    },
    {
      path: '/ProductNew',
      name: 'ProductNew',
      component: ProductNew,
    },
    {
      path: '/ProductSeckill',
      name: 'ProductSeckill',
      component: ProductSeckill,
    },{
      path: '/UseHelp',
      name: 'UseHelp',
      component: UseHelp
    },{
      path: '/AboutUs',
      name: 'AboutUs',
      component: AboutUs
    },{
      path: '/Cart',
      name: 'Cart',
      component: Cart
    },
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/WechatBinding',
      name: 'WechatBinding',
      component: WechatBinding
    },
    {
      path: '/ProductCollectList',
      name: 'ProductCollectList',
      component: ProductCollectList
    },{
      path: '/SearchAct',
      name: 'SearchAct',
      component: SearchAct
    },{
      path: '/SearchResult',
      name: 'SearchResult',
      component: SearchResult
    },{
      path: '/SearchResultShop',
      name: 'SearchResultShop',
      component: SearchResultShop
    },{
      path: '/ShopHome',
      name: 'ShopHome',
      component: ShopHome
    },{
      path: '/ShopProductClassify',
      name: 'ShopProductClassify',
      component: ShopProductClassify
    },{
      path: '/ShopDescription',
      name: 'ShopDescription',
      component: ShopDescription
    },{
      path: '/ShopProduct',
      name: 'ShopProduct',
      component: ShopProduct
    },{
      path: '/ProductDetail',
      name: 'ProductDetail',
      component: ProductDetail
    },{
      path: '/ProductReplyList',
      name: 'ProductReplyList',
      component: ProductReplyList
    },
    {
      path: '/MemberHome',
      name: 'MemberHome',
      component: MemberHome,
    },
    {
      path: '/MemberCoupon',
      name: 'MemberCoupon',
      component: MemberCoupon,
    },{
      path: '/MemberLog',
      name: 'MemberLog',
      component: MemberLog,
    },{
      path: '/MemberPromotion',
      name: 'MemberPromotion',
      component: MemberPromotion,
    },{
      path: '/MemberSetup',
      name: 'MemberSetup',
      component: MemberSetup,
    },{
      path: '/MemberInfo',
      name: 'MemberInfo',
      component: MemberInfo,
    },{
      path: '/MemberAddressList',
      name: 'MemberAddressList',
      component: MemberAddressList,
    },{
      path: '/MemberAddressForm',
      name: 'MemberAddressForm',
      component: MemberAddressForm,

    },{
      path: '/MyAMap',
      name: 'MyAMap',
      component: MyAMap,
    },{
      path: '/MemberChangePassword',
      name: 'MemberChangePassword',
      component: MemberChangePassword,
    },{
      path: '/MemberChangeMobile',
      name: 'MemberChangeMobile',
      component: MemberChangeMobile,
    },{
      path: '/MemberWechatBinding',
      name: 'MemberWechatBinding',
      component: MemberWechatBinding,
    },{
      path: '/MemberBindingShopList',
      name: 'MemberBindingShopList',
      component: MemberBindingShopList,
    },{
      path: '/MemberShopCollectList',
      name: 'MemberShopCollectList',
      component: MemberShopCollectList,
    },{
      path: '/MemberProductCollectList',
      name: 'MemberProductCollectList',
      component: MemberProductCollectList,
    },{
      path: '/ChatList',
      name: 'ChatList',
      component: ChatList,
    },{
      path: '/Chat',
      name: 'Chat',
      component: Chat,
    },{
      path: '/OrderList',
      name: 'OrderList',
      component: OrderList,
    },{
      path: '/OrderApplyList',
      name: 'OrderApplyList',
      component: OrderApplyList,
    },{
      path: '/OrderDetail',
      name: 'OrderDetail',
      component: OrderDetail,
    },{
      path: '/OrderExpress',
      name: 'OrderExpress',
      component: OrderExpress,
    },{
      path: '/OrderGroup',
      name: 'OrderGroup',
      component: OrderGroup,
    },{
      path: '/OrderReply',
      name: 'OrderReply',
      component: OrderReply,
    },{
      path: '/OrderApplyDetail',
      name: 'OrderApplyDetail',
      component: OrderApplyDetail,
    },{
      path: '/ConfirmOrder',
      name: 'ConfirmOrder',
      component: ConfirmOrder,
    },{
      path: '/PaySuccess',
      name: 'PaySuccess',
      component: PaySuccess,
    },{
      path: '/ShopProductPurchaseList',
      name: 'ShopProductPurchaseList',
      component: ShopProductPurchaseList,
    },{
      path: '/ShopProductPurchaseDetail',
      name: 'ShopProductPurchaseDetail',
      component: ShopProductPurchaseDetail,
    },{
      path: '/EnterprisePayInfo',
      name: 'EnterprisePayInfo',
      component: EnterprisePayInfo,
    },{
      path: '/ConfirmPurchaseOrder',
      name: 'ConfirmPurchaseOrder',
      component: ConfirmPurchaseOrder,
    },{
      path: '/IScrollerDemo',
      name: 'IScrollerDemo',
      component: IScrollerDemo,
    },{
      path: '/MyAMapLine',
      name: 'MyAMapLine',
      component: MyAMapLine,
    },{
      path: '/MemberComplaint',
      name: 'MemberComplaint',
      component: MemberComplaint,
    },{
      path: '/ProductList',
      name: 'ProductList',
      component: ProductList,
    },{
      path: '/ProductModelList',
      name: 'ProductModelList',
      component: ProductModelList,
    },{
      path: '/ProductModelLogList',
      name: 'ProductModelLogList',
      component: ProductModelLogList,
    },{
      path: '/ProductLogList',
      name: 'ProductLogList',
      component: ProductLogList,
    },{
      path: '/ProductForm',
      name: 'ProductForm',
      component: ProductForm,
    }
  ]
})
